/**
 * 插入mongo的实体信息
 */
package com.cyou.qb.common.mongo.po;

import java.io.Serializable;
import java.util.Date;

import com.cyou.nad.mongo.orm.annotation.Document;
import com.cyou.nad.mongo.orm.annotation.MongoField;

/**
 * @author zoudongchao
 *
 */
@Document(db="tianlang", collection="clicklog")
public class ClickLog implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3109058214489434135L;

	@MongoField
	private int activeId;	//活动id
	
	@MongoField
	private String activeName;
	
	@MongoField
	private int uCenterId;
	
	@MongoField
	private String passport;//通行证
	
	@MongoField
	private Date drawDate;
	
	@MongoField
	private Date createDate;
	
	//需要提供午餐构造函数 否则定时任务报错
	public ClickLog(){
		
	}
	
	public ClickLog(int activeId, String activeName, int uCenterId, String passport, Date drawDate, Date createDate){
		this.activeId = activeId;
		this.activeName = activeName;
		this.uCenterId = uCenterId;
		this.passport = passport;
		this.drawDate = drawDate;
		this.createDate = createDate;
	}
	
	public int getActiveId() {
		return activeId;
	}
	public void setActiveId(int activeId) {
		this.activeId = activeId;
	}
	public String getActiveName() {
		return activeName;
	}
	public void setActiveName(String activeName) {
		this.activeName = activeName;
	}
	public int getuCenterId() {
		return uCenterId;
	}
	public void setuCenterId(int uCenterId) {
		this.uCenterId = uCenterId;
	}
	public String getPassport() {
		return passport;
	}
	public void setPassport(String passport) {
		this.passport = passport;
	}
	public Date getDrawDate() {
		return drawDate;
	}
	public void setDrawDate(Date drawDate) {
		this.drawDate = drawDate;
	}
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	@Override
	public boolean equals(Object obj) {
		return super.equals(obj);
	}

	@Override
	public int hashCode() {
		return super.hashCode();
	}

	@Override
	public String toString() {
		return "TestPO [active_id=" + activeId + ", active_name=" + activeName + ", u_center_id=" + uCenterId + ", passport=" + passport
				+ ", draw_date=" + drawDate + "]";
	}
	
}
